import request from '@/utils/request'

const api_name = '/orderService/payLog';

export default {
  //分页条件查询日志
  pagePaylogList(current, limit) {
    return request({
      url: `${api_name}/pageLogList/${current}/${limit}`,
      method: 'get'
    })
  },

  //根据id查询
  getPaylog(id) {
    return request({
      url: `${api_name}/getById/${id}`,
      method: 'get'
    })
  },

  //根据id删除
  removePaylogById(id) {
    return request({
      url: `${api_name}/removeById/${id}`,
      method: 'delete'
    })
  },
}
